package service;

import cn.edu.zsc.rbac.domain.dto.UserDto;
import cn.edu.zsc.rbac.domain.entity.User;
import cn.edu.zsc.rbac.domain.vo.Result;

/**
 * 业务层接口-用户
 *
 * @author 周志豪
 * @since 2025/5/23 10:10
 */
public interface IUserService extends IBaseService<User,UserDto> {

    boolean deptInUse(int deptId);

    boolean roleInUse(int roleId);

    Result toggle(int id);
}
